package com.nys.cqhttp.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UserStateExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UserStateExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andGoldIsNull() {
            addCriterion("gold is null");
            return (Criteria) this;
        }

        public Criteria andGoldIsNotNull() {
            addCriterion("gold is not null");
            return (Criteria) this;
        }

        public Criteria andGoldEqualTo(Integer value) {
            addCriterion("gold =", value, "gold");
            return (Criteria) this;
        }

        public Criteria andGoldNotEqualTo(Integer value) {
            addCriterion("gold <>", value, "gold");
            return (Criteria) this;
        }

        public Criteria andGoldGreaterThan(Integer value) {
            addCriterion("gold >", value, "gold");
            return (Criteria) this;
        }

        public Criteria andGoldGreaterThanOrEqualTo(Integer value) {
            addCriterion("gold >=", value, "gold");
            return (Criteria) this;
        }

        public Criteria andGoldLessThan(Integer value) {
            addCriterion("gold <", value, "gold");
            return (Criteria) this;
        }

        public Criteria andGoldLessThanOrEqualTo(Integer value) {
            addCriterion("gold <=", value, "gold");
            return (Criteria) this;
        }

        public Criteria andGoldIn(List<Integer> values) {
            addCriterion("gold in", values, "gold");
            return (Criteria) this;
        }

        public Criteria andGoldNotIn(List<Integer> values) {
            addCriterion("gold not in", values, "gold");
            return (Criteria) this;
        }

        public Criteria andGoldBetween(Integer value1, Integer value2) {
            addCriterion("gold between", value1, value2, "gold");
            return (Criteria) this;
        }

        public Criteria andGoldNotBetween(Integer value1, Integer value2) {
            addCriterion("gold not between", value1, value2, "gold");
            return (Criteria) this;
        }

        public Criteria andMilitaryStrengthIsNull() {
            addCriterion("military_strength is null");
            return (Criteria) this;
        }

        public Criteria andMilitaryStrengthIsNotNull() {
            addCriterion("military_strength is not null");
            return (Criteria) this;
        }

        public Criteria andMilitaryStrengthEqualTo(Integer value) {
            addCriterion("military_strength =", value, "militaryStrength");
            return (Criteria) this;
        }

        public Criteria andMilitaryStrengthNotEqualTo(Integer value) {
            addCriterion("military_strength <>", value, "militaryStrength");
            return (Criteria) this;
        }

        public Criteria andMilitaryStrengthGreaterThan(Integer value) {
            addCriterion("military_strength >", value, "militaryStrength");
            return (Criteria) this;
        }

        public Criteria andMilitaryStrengthGreaterThanOrEqualTo(Integer value) {
            addCriterion("military_strength >=", value, "militaryStrength");
            return (Criteria) this;
        }

        public Criteria andMilitaryStrengthLessThan(Integer value) {
            addCriterion("military_strength <", value, "militaryStrength");
            return (Criteria) this;
        }

        public Criteria andMilitaryStrengthLessThanOrEqualTo(Integer value) {
            addCriterion("military_strength <=", value, "militaryStrength");
            return (Criteria) this;
        }

        public Criteria andMilitaryStrengthIn(List<Integer> values) {
            addCriterion("military_strength in", values, "militaryStrength");
            return (Criteria) this;
        }

        public Criteria andMilitaryStrengthNotIn(List<Integer> values) {
            addCriterion("military_strength not in", values, "militaryStrength");
            return (Criteria) this;
        }

        public Criteria andMilitaryStrengthBetween(Integer value1, Integer value2) {
            addCriterion("military_strength between", value1, value2, "militaryStrength");
            return (Criteria) this;
        }

        public Criteria andMilitaryStrengthNotBetween(Integer value1, Integer value2) {
            addCriterion("military_strength not between", value1, value2, "militaryStrength");
            return (Criteria) this;
        }

        public Criteria andLifeIsNull() {
            addCriterion("life is null");
            return (Criteria) this;
        }

        public Criteria andLifeIsNotNull() {
            addCriterion("life is not null");
            return (Criteria) this;
        }

        public Criteria andLifeEqualTo(Integer value) {
            addCriterion("life =", value, "life");
            return (Criteria) this;
        }

        public Criteria andLifeNotEqualTo(Integer value) {
            addCriterion("life <>", value, "life");
            return (Criteria) this;
        }

        public Criteria andLifeGreaterThan(Integer value) {
            addCriterion("life >", value, "life");
            return (Criteria) this;
        }

        public Criteria andLifeGreaterThanOrEqualTo(Integer value) {
            addCriterion("life >=", value, "life");
            return (Criteria) this;
        }

        public Criteria andLifeLessThan(Integer value) {
            addCriterion("life <", value, "life");
            return (Criteria) this;
        }

        public Criteria andLifeLessThanOrEqualTo(Integer value) {
            addCriterion("life <=", value, "life");
            return (Criteria) this;
        }

        public Criteria andLifeIn(List<Integer> values) {
            addCriterion("life in", values, "life");
            return (Criteria) this;
        }

        public Criteria andLifeNotIn(List<Integer> values) {
            addCriterion("life not in", values, "life");
            return (Criteria) this;
        }

        public Criteria andLifeBetween(Integer value1, Integer value2) {
            addCriterion("life between", value1, value2, "life");
            return (Criteria) this;
        }

        public Criteria andLifeNotBetween(Integer value1, Integer value2) {
            addCriterion("life not between", value1, value2, "life");
            return (Criteria) this;
        }

        public Criteria andAttackIsNull() {
            addCriterion("attack is null");
            return (Criteria) this;
        }

        public Criteria andAttackIsNotNull() {
            addCriterion("attack is not null");
            return (Criteria) this;
        }

        public Criteria andAttackEqualTo(Integer value) {
            addCriterion("attack =", value, "attack");
            return (Criteria) this;
        }

        public Criteria andAttackNotEqualTo(Integer value) {
            addCriterion("attack <>", value, "attack");
            return (Criteria) this;
        }

        public Criteria andAttackGreaterThan(Integer value) {
            addCriterion("attack >", value, "attack");
            return (Criteria) this;
        }

        public Criteria andAttackGreaterThanOrEqualTo(Integer value) {
            addCriterion("attack >=", value, "attack");
            return (Criteria) this;
        }

        public Criteria andAttackLessThan(Integer value) {
            addCriterion("attack <", value, "attack");
            return (Criteria) this;
        }

        public Criteria andAttackLessThanOrEqualTo(Integer value) {
            addCriterion("attack <=", value, "attack");
            return (Criteria) this;
        }

        public Criteria andAttackIn(List<Integer> values) {
            addCriterion("attack in", values, "attack");
            return (Criteria) this;
        }

        public Criteria andAttackNotIn(List<Integer> values) {
            addCriterion("attack not in", values, "attack");
            return (Criteria) this;
        }

        public Criteria andAttackBetween(Integer value1, Integer value2) {
            addCriterion("attack between", value1, value2, "attack");
            return (Criteria) this;
        }

        public Criteria andAttackNotBetween(Integer value1, Integer value2) {
            addCriterion("attack not between", value1, value2, "attack");
            return (Criteria) this;
        }

        public Criteria andSpiritIsNull() {
            addCriterion("spirit is null");
            return (Criteria) this;
        }

        public Criteria andSpiritIsNotNull() {
            addCriterion("spirit is not null");
            return (Criteria) this;
        }

        public Criteria andSpiritEqualTo(Integer value) {
            addCriterion("spirit =", value, "spirit");
            return (Criteria) this;
        }

        public Criteria andSpiritNotEqualTo(Integer value) {
            addCriterion("spirit <>", value, "spirit");
            return (Criteria) this;
        }

        public Criteria andSpiritGreaterThan(Integer value) {
            addCriterion("spirit >", value, "spirit");
            return (Criteria) this;
        }

        public Criteria andSpiritGreaterThanOrEqualTo(Integer value) {
            addCriterion("spirit >=", value, "spirit");
            return (Criteria) this;
        }

        public Criteria andSpiritLessThan(Integer value) {
            addCriterion("spirit <", value, "spirit");
            return (Criteria) this;
        }

        public Criteria andSpiritLessThanOrEqualTo(Integer value) {
            addCriterion("spirit <=", value, "spirit");
            return (Criteria) this;
        }

        public Criteria andSpiritIn(List<Integer> values) {
            addCriterion("spirit in", values, "spirit");
            return (Criteria) this;
        }

        public Criteria andSpiritNotIn(List<Integer> values) {
            addCriterion("spirit not in", values, "spirit");
            return (Criteria) this;
        }

        public Criteria andSpiritBetween(Integer value1, Integer value2) {
            addCriterion("spirit between", value1, value2, "spirit");
            return (Criteria) this;
        }

        public Criteria andSpiritNotBetween(Integer value1, Integer value2) {
            addCriterion("spirit not between", value1, value2, "spirit");
            return (Criteria) this;
        }

        public Criteria andJqrQqIsNull() {
            addCriterion("jqr_qq is null");
            return (Criteria) this;
        }

        public Criteria andJqrQqIsNotNull() {
            addCriterion("jqr_qq is not null");
            return (Criteria) this;
        }

        public Criteria andJqrQqEqualTo(String value) {
            addCriterion("jqr_qq =", value, "jqrQq");
            return (Criteria) this;
        }

        public Criteria andJqrQqNotEqualTo(String value) {
            addCriterion("jqr_qq <>", value, "jqrQq");
            return (Criteria) this;
        }

        public Criteria andJqrQqGreaterThan(String value) {
            addCriterion("jqr_qq >", value, "jqrQq");
            return (Criteria) this;
        }

        public Criteria andJqrQqGreaterThanOrEqualTo(String value) {
            addCriterion("jqr_qq >=", value, "jqrQq");
            return (Criteria) this;
        }

        public Criteria andJqrQqLessThan(String value) {
            addCriterion("jqr_qq <", value, "jqrQq");
            return (Criteria) this;
        }

        public Criteria andJqrQqLessThanOrEqualTo(String value) {
            addCriterion("jqr_qq <=", value, "jqrQq");
            return (Criteria) this;
        }

        public Criteria andJqrQqLike(String value) {
            addCriterion("jqr_qq like", value, "jqrQq");
            return (Criteria) this;
        }

        public Criteria andJqrQqNotLike(String value) {
            addCriterion("jqr_qq not like", value, "jqrQq");
            return (Criteria) this;
        }

        public Criteria andJqrQqIn(List<String> values) {
            addCriterion("jqr_qq in", values, "jqrQq");
            return (Criteria) this;
        }

        public Criteria andJqrQqNotIn(List<String> values) {
            addCriterion("jqr_qq not in", values, "jqrQq");
            return (Criteria) this;
        }

        public Criteria andJqrQqBetween(String value1, String value2) {
            addCriterion("jqr_qq between", value1, value2, "jqrQq");
            return (Criteria) this;
        }

        public Criteria andJqrQqNotBetween(String value1, String value2) {
            addCriterion("jqr_qq not between", value1, value2, "jqrQq");
            return (Criteria) this;
        }

        public Criteria andUserQqIsNull() {
            addCriterion("user_qq is null");
            return (Criteria) this;
        }

        public Criteria andUserQqIsNotNull() {
            addCriterion("user_qq is not null");
            return (Criteria) this;
        }

        public Criteria andUserQqEqualTo(String value) {
            addCriterion("user_qq =", value, "userQq");
            return (Criteria) this;
        }

        public Criteria andUserQqNotEqualTo(String value) {
            addCriterion("user_qq <>", value, "userQq");
            return (Criteria) this;
        }

        public Criteria andUserQqGreaterThan(String value) {
            addCriterion("user_qq >", value, "userQq");
            return (Criteria) this;
        }

        public Criteria andUserQqGreaterThanOrEqualTo(String value) {
            addCriterion("user_qq >=", value, "userQq");
            return (Criteria) this;
        }

        public Criteria andUserQqLessThan(String value) {
            addCriterion("user_qq <", value, "userQq");
            return (Criteria) this;
        }

        public Criteria andUserQqLessThanOrEqualTo(String value) {
            addCriterion("user_qq <=", value, "userQq");
            return (Criteria) this;
        }

        public Criteria andUserQqLike(String value) {
            addCriterion("user_qq like", value, "userQq");
            return (Criteria) this;
        }

        public Criteria andUserQqNotLike(String value) {
            addCriterion("user_qq not like", value, "userQq");
            return (Criteria) this;
        }

        public Criteria andUserQqIn(List<String> values) {
            addCriterion("user_qq in", values, "userQq");
            return (Criteria) this;
        }

        public Criteria andUserQqNotIn(List<String> values) {
            addCriterion("user_qq not in", values, "userQq");
            return (Criteria) this;
        }

        public Criteria andUserQqBetween(String value1, String value2) {
            addCriterion("user_qq between", value1, value2, "userQq");
            return (Criteria) this;
        }

        public Criteria andUserQqNotBetween(String value1, String value2) {
            addCriterion("user_qq not between", value1, value2, "userQq");
            return (Criteria) this;
        }

        public Criteria andSendDateIsNull() {
            addCriterion("send_date is null");
            return (Criteria) this;
        }

        public Criteria andSendDateIsNotNull() {
            addCriterion("send_date is not null");
            return (Criteria) this;
        }

        public Criteria andSendDateEqualTo(Date value) {
            addCriterion("send_date =", value, "sendDate");
            return (Criteria) this;
        }

        public Criteria andSendDateNotEqualTo(Date value) {
            addCriterion("send_date <>", value, "sendDate");
            return (Criteria) this;
        }

        public Criteria andSendDateGreaterThan(Date value) {
            addCriterion("send_date >", value, "sendDate");
            return (Criteria) this;
        }

        public Criteria andSendDateGreaterThanOrEqualTo(Date value) {
            addCriterion("send_date >=", value, "sendDate");
            return (Criteria) this;
        }

        public Criteria andSendDateLessThan(Date value) {
            addCriterion("send_date <", value, "sendDate");
            return (Criteria) this;
        }

        public Criteria andSendDateLessThanOrEqualTo(Date value) {
            addCriterion("send_date <=", value, "sendDate");
            return (Criteria) this;
        }

        public Criteria andSendDateIn(List<Date> values) {
            addCriterion("send_date in", values, "sendDate");
            return (Criteria) this;
        }

        public Criteria andSendDateNotIn(List<Date> values) {
            addCriterion("send_date not in", values, "sendDate");
            return (Criteria) this;
        }

        public Criteria andSendDateBetween(Date value1, Date value2) {
            addCriterion("send_date between", value1, value2, "sendDate");
            return (Criteria) this;
        }

        public Criteria andSendDateNotBetween(Date value1, Date value2) {
            addCriterion("send_date not between", value1, value2, "sendDate");
            return (Criteria) this;
        }

        public Criteria andCardIsNull() {
            addCriterion("card is null");
            return (Criteria) this;
        }

        public Criteria andCardIsNotNull() {
            addCriterion("card is not null");
            return (Criteria) this;
        }

        public Criteria andCardEqualTo(Integer value) {
            addCriterion("card =", value, "card");
            return (Criteria) this;
        }

        public Criteria andCardNotEqualTo(Integer value) {
            addCriterion("card <>", value, "card");
            return (Criteria) this;
        }

        public Criteria andCardGreaterThan(Integer value) {
            addCriterion("card >", value, "card");
            return (Criteria) this;
        }

        public Criteria andCardGreaterThanOrEqualTo(Integer value) {
            addCriterion("card >=", value, "card");
            return (Criteria) this;
        }

        public Criteria andCardLessThan(Integer value) {
            addCriterion("card <", value, "card");
            return (Criteria) this;
        }

        public Criteria andCardLessThanOrEqualTo(Integer value) {
            addCriterion("card <=", value, "card");
            return (Criteria) this;
        }

        public Criteria andCardIn(List<Integer> values) {
            addCriterion("card in", values, "card");
            return (Criteria) this;
        }

        public Criteria andCardNotIn(List<Integer> values) {
            addCriterion("card not in", values, "card");
            return (Criteria) this;
        }

        public Criteria andCardBetween(Integer value1, Integer value2) {
            addCriterion("card between", value1, value2, "card");
            return (Criteria) this;
        }

        public Criteria andCardNotBetween(Integer value1, Integer value2) {
            addCriterion("card not between", value1, value2, "card");
            return (Criteria) this;
        }

        public Criteria andPlainBaitIsNull() {
            addCriterion("plain_bait is null");
            return (Criteria) this;
        }

        public Criteria andPlainBaitIsNotNull() {
            addCriterion("plain_bait is not null");
            return (Criteria) this;
        }

        public Criteria andPlainBaitEqualTo(Integer value) {
            addCriterion("plain_bait =", value, "plainBait");
            return (Criteria) this;
        }

        public Criteria andPlainBaitNotEqualTo(Integer value) {
            addCriterion("plain_bait <>", value, "plainBait");
            return (Criteria) this;
        }

        public Criteria andPlainBaitGreaterThan(Integer value) {
            addCriterion("plain_bait >", value, "plainBait");
            return (Criteria) this;
        }

        public Criteria andPlainBaitGreaterThanOrEqualTo(Integer value) {
            addCriterion("plain_bait >=", value, "plainBait");
            return (Criteria) this;
        }

        public Criteria andPlainBaitLessThan(Integer value) {
            addCriterion("plain_bait <", value, "plainBait");
            return (Criteria) this;
        }

        public Criteria andPlainBaitLessThanOrEqualTo(Integer value) {
            addCriterion("plain_bait <=", value, "plainBait");
            return (Criteria) this;
        }

        public Criteria andPlainBaitIn(List<Integer> values) {
            addCriterion("plain_bait in", values, "plainBait");
            return (Criteria) this;
        }

        public Criteria andPlainBaitNotIn(List<Integer> values) {
            addCriterion("plain_bait not in", values, "plainBait");
            return (Criteria) this;
        }

        public Criteria andPlainBaitBetween(Integer value1, Integer value2) {
            addCriterion("plain_bait between", value1, value2, "plainBait");
            return (Criteria) this;
        }

        public Criteria andPlainBaitNotBetween(Integer value1, Integer value2) {
            addCriterion("plain_bait not between", value1, value2, "plainBait");
            return (Criteria) this;
        }

        public Criteria andPremiumBaitIsNull() {
            addCriterion("premium_bait is null");
            return (Criteria) this;
        }

        public Criteria andPremiumBaitIsNotNull() {
            addCriterion("premium_bait is not null");
            return (Criteria) this;
        }

        public Criteria andPremiumBaitEqualTo(Integer value) {
            addCriterion("premium_bait =", value, "premiumBait");
            return (Criteria) this;
        }

        public Criteria andPremiumBaitNotEqualTo(Integer value) {
            addCriterion("premium_bait <>", value, "premiumBait");
            return (Criteria) this;
        }

        public Criteria andPremiumBaitGreaterThan(Integer value) {
            addCriterion("premium_bait >", value, "premiumBait");
            return (Criteria) this;
        }

        public Criteria andPremiumBaitGreaterThanOrEqualTo(Integer value) {
            addCriterion("premium_bait >=", value, "premiumBait");
            return (Criteria) this;
        }

        public Criteria andPremiumBaitLessThan(Integer value) {
            addCriterion("premium_bait <", value, "premiumBait");
            return (Criteria) this;
        }

        public Criteria andPremiumBaitLessThanOrEqualTo(Integer value) {
            addCriterion("premium_bait <=", value, "premiumBait");
            return (Criteria) this;
        }

        public Criteria andPremiumBaitIn(List<Integer> values) {
            addCriterion("premium_bait in", values, "premiumBait");
            return (Criteria) this;
        }

        public Criteria andPremiumBaitNotIn(List<Integer> values) {
            addCriterion("premium_bait not in", values, "premiumBait");
            return (Criteria) this;
        }

        public Criteria andPremiumBaitBetween(Integer value1, Integer value2) {
            addCriterion("premium_bait between", value1, value2, "premiumBait");
            return (Criteria) this;
        }

        public Criteria andPremiumBaitNotBetween(Integer value1, Integer value2) {
            addCriterion("premium_bait not between", value1, value2, "premiumBait");
            return (Criteria) this;
        }

        public Criteria andBoutiqueBaitIsNull() {
            addCriterion("Boutique_bait is null");
            return (Criteria) this;
        }

        public Criteria andBoutiqueBaitIsNotNull() {
            addCriterion("Boutique_bait is not null");
            return (Criteria) this;
        }

        public Criteria andBoutiqueBaitEqualTo(Integer value) {
            addCriterion("Boutique_bait =", value, "boutiqueBait");
            return (Criteria) this;
        }

        public Criteria andBoutiqueBaitNotEqualTo(Integer value) {
            addCriterion("Boutique_bait <>", value, "boutiqueBait");
            return (Criteria) this;
        }

        public Criteria andBoutiqueBaitGreaterThan(Integer value) {
            addCriterion("Boutique_bait >", value, "boutiqueBait");
            return (Criteria) this;
        }

        public Criteria andBoutiqueBaitGreaterThanOrEqualTo(Integer value) {
            addCriterion("Boutique_bait >=", value, "boutiqueBait");
            return (Criteria) this;
        }

        public Criteria andBoutiqueBaitLessThan(Integer value) {
            addCriterion("Boutique_bait <", value, "boutiqueBait");
            return (Criteria) this;
        }

        public Criteria andBoutiqueBaitLessThanOrEqualTo(Integer value) {
            addCriterion("Boutique_bait <=", value, "boutiqueBait");
            return (Criteria) this;
        }

        public Criteria andBoutiqueBaitIn(List<Integer> values) {
            addCriterion("Boutique_bait in", values, "boutiqueBait");
            return (Criteria) this;
        }

        public Criteria andBoutiqueBaitNotIn(List<Integer> values) {
            addCriterion("Boutique_bait not in", values, "boutiqueBait");
            return (Criteria) this;
        }

        public Criteria andBoutiqueBaitBetween(Integer value1, Integer value2) {
            addCriterion("Boutique_bait between", value1, value2, "boutiqueBait");
            return (Criteria) this;
        }

        public Criteria andBoutiqueBaitNotBetween(Integer value1, Integer value2) {
            addCriterion("Boutique_bait not between", value1, value2, "boutiqueBait");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}